//
//  FanObstacle.h
//  StarBugs
//
//  Created by ?? ? on 2/21/12.
//  Copyright 2012 antisword@playorca.com. All rights reserved.
//

#ifndef __FANOBSTACLE_H__
#define __FANOBSTACLE_H__

#include "Object/ObjectSprite.h"

class FanObstacle : public ObjectSprite
{
private:
    CCSprite *fanSprite;
    CCSprite *wind[4];
    CCArray *windFrameArray[4];
    void windtick(float dt);
    int cnt;
public:
    ~FanObstacle();
    FanObstacle();
    virtual void setBodyAngle(bool isInv);
    virtual void setBody(b2World* _world);
};

#endif